#ifndef _XML_FACTORY_IMPL_H
#define _XML_FACTORY_IMPL_H

#include "XmlDef.h"

XML_TOOL_NAMESPACE_BEGIN

class LibXml2XmlFactory : public XmlFactory
{
public:
	LibXml2XmlFactory(void);
	~LibXml2XmlFactory(void);

	virtual XmlDocumentPtr CreateXmlDocument();
	virtual XmlDocumentPtr CreateXmlDocument(const string& xmlText, const string& encoding);
	virtual void ReleaseXmlDocument(XmlDocumentPtr xmlDoc);
};

XML_TOOL_NAMESPACE_END

#endif //_XML_FACTORY_IMPL_H